package com.aptech.bank.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Job entity. @author MyEclipse Persistence Tools
 */

public class Job implements java.io.Serializable {

	// Fields

	private Integer id;
	private Group group;
	private String name;
	private String description;
	private Set<Users> userses = new HashSet<Users>(0);
	private Set<JobFunc> jobFuncs = new HashSet<JobFunc>(0);

	// Constructors

	/** default constructor */
	public Job() {
	}

	/** full constructor */
	public Job(Group group, String name, String description, Set<Users> userses,
			Set<JobFunc> jobFuncs) {
		this.group = group;
		this.name = name;
		this.description = description;
		this.userses = userses;
		this.jobFuncs = jobFuncs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Group getGroup() {
		return this.group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<Users> getUserses() {
		return this.userses;
	}

	public void setUserses(Set<Users> userses) {
		this.userses = userses;
	}

	public Set<JobFunc> getJobFuncs() {
		return this.jobFuncs;
	}

	public void setJobFuncs(Set<JobFunc> jobFuncs) {
		this.jobFuncs = jobFuncs;
	}

}